projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71b3e0b
)
Always pass a location into the query
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 24 Jul 2015 19:37:03 +0000
(15:37 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 27 Jul 2015 12:07:38 +0000
(08:07 -0400)
Failure to do so was causing search to start from the home dir
when the current folder is not represented on the sidebar.
gtk/gtkfilechooserwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfilechooserwidget.c
b/gtk/gtkfilechooserwidget.c
index 4b0a2d71372e5e2f107fe6f315783215b124d620..9c51220310faef84829557a0d7976d04fba72473 100644
(file)
--- a/
gtk/gtkfilechooserwidget.c
+++ b/
gtk/gtkfilechooserwidget.c
@@
-7211,6
+7211,8
@@
search_start_query (GtkFileChooserWidget *impl,
gtk_query_set_location (priv->search_query, file);
g_object_unref (file);
}
+ else
+ gtk_query_set_location (priv->search_query, priv->current_folder);
_gtk_search_engine_set_model (priv->search_engine, priv->model_for_search);
_gtk_search_engine_set_query (priv->search_engine, priv->search_query);